package com.ruoyi.loginfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 快递员对象 log_person
 * 
 * @author ruoyi
 * @date 2023-10-15
 */
public class LogPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 快递员ID */
    private Long id;

    /** 快递员姓名 */
    @Excel(name = "快递员姓名")
    private String name;

    /** 设备ID（手机uuid） */
    @Excel(name = "设备ID", readConverterExp = "手=机uuid")
    private String phone;

    /** 快递员手机号码 */
    @Excel(name = "快递员手机号码")
    private String contactPhone;

    /** 快递员注册ID（用户ID） */
    @Excel(name = "快递员注册ID", readConverterExp = "用=户ID")
    private Long systemUserId;

    /** 用户状态（0:未审核，1:审核通过，2:禁用） */
    @Excel(name = "用户状态", readConverterExp = "0=:未审核，1:审核通过，2:禁用")
    private int status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setSystemUserId(Long systemUserId)
    {
        this.systemUserId = systemUserId;
    }

    public Long getSystemUserId()
    {
        return systemUserId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("contactPhone", getContactPhone())
            .append("systemUserId", getSystemUserId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
